package com.example.springbooksystem.enums;

import lombok.Getter;

/**
 * Created with IntelliJ IDEA.
 * Description：
 *
 * @author: zxj
 * @date: 2024-01-25
 * @time: 20:10:10
 */
@Getter
public enum ResultStatusEnum {
    SUCCESS(200),
    UN_LOGIN(-1),
    FATAL(-2);
    private Integer status;

    ResultStatusEnum(Integer status) {
        this.status = status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
